import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/components/index'
import Product from '@/components/product'
import List from '@/components/list'
import Company from '@/components/company'
import Detail from '@/components/detail'
import Service from '@/components/service'
import AA  from '@/components/aaa'

//import Header from '@/components/Header'
//import Footer from '@/components/Footer'

Vue.use(Router);

export default new Router({
  routes: [
      {
        path: '/',
        name: 'Index',
        component: Index
      },
      {
        path: '/product',
        name: 'Product',
        component: Product
      },
      {
        path: '/list',
        name: 'List',
        component: List
      },
      {
        path: '/company',
        name: 'Company',
        component: Company
      },
      {
        path: '/detail',
        name: 'Detail',
        component: Detail
      },
      {
        path: '/service',
        name: 'Service',
        component: Service
      },
      {
        path:'/aaa',
        component:AA
      }
  ]
})
